/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package wrappingdata;

import Wrapper.HTMLParser;
import Wrapper.TabloidPulsaWrapper;
import Wrapper.Wrapper;
import crawler.UrlList;

/**
 *
 * @author Putra
 */
public class ujiHTMLParser {
    public static void main(String[] args){
        /*
        HTMLParser parser = new HTMLParser(113);
        parser.setRootName("HandphoneDirectory");
        parser.setItemName("Handphone");
        parser.setXmlFileName("myfile2.xml");
        parser.start();
        */
        
        
        
        TabloidPulsaWrapper parser = new TabloidPulsaWrapper(1,113);
        parser.setRootName("HandphoneDirectory");
        parser.setItemName("Handphone");
        parser.setXmlFileName("TabloidPulsa3.xml");
        Thread tabloidPulsa = new Thread(parser);
        
        
        tabloidPulsa.run();
        
        
        /*
        UrlList list = new UrlList();
        */
    }
}
